<template>
  <div id="wrap">
    <header-html :active="type"></header-html>
      <router-view ></router-view>
    <footer-html></footer-html>
    <Loader :is-loading="isLoading"></Loader>
  </div>
</template>

<script>
  import Loader from 'components/loader/loader';
  import footerHtml from 'components/footer';
  import headerHtml from 'components/header'
export default {
  components: {
    Loader,
    footerHtml,
    headerHtml,
  },
  data(){
    return{

      isLoading:true
    }
  },
  ready(){
    var vm = this;
    setTimeout(()=>{
      vm.isLoading = false;
    },1000)
  }

}
</script>
